package com.woniuxy.service;

import com.woniuxy.entity.DeviceManage;
import com.woniuxy.util.PageParam;
import com.woniuxy.util.ResponseData;

public interface DeviceManageService {

    //分页条件查询设备
    ResponseData<?> queryDevice(PageParam<DeviceManage> pageParam);

    //添加设备
    ResponseData<?> addDevice(DeviceManage deviceManage);

    //根据id查询设备
    ResponseData<?> queryDeviceById(Integer id);

    //修改设备
    ResponseData<?> updateDevice(DeviceManage deviceManage);

    //删除设备
    ResponseData<?> deleteDevice(Integer id);
}
